import Vue from 'vue';
import App from './App';

Vue.config.productionTip = false;

App.mpType = 'app';

import config from '@/utils/config.js'
import {validator} from '@/utils/validator.js'
Vue.prototype.$config = config;
Vue.prototype.$validator = validator;

import uView from 'uview-ui'
Vue.use(uView);

const app = new Vue({
    ...App
});

import httpInterceptor from '@/utils/http.interceptor.js';
Vue.use(httpInterceptor, app);

app.$mount();
